﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Persistance.ViewModel;

namespace Persistance
{
    public interface IGestionCompte
    {
        Boolean LogIn(String login, String password);

        CollaboratorViewModel getCollabLoggedIn(string login);

        List<LocationViewModel> GetAllLocation();

        List<JobViewModel> GetAllJob();

        List<ActivityViewModel> GetAllActivity();
        
        void Register(String login, string loginNewCollab, string passwordNewCollab, string name, string firstName, string mobilePhone, string email, int job, int location, int activity);

        void EditProfile(String login, string newPassword, string name, string firstName, string mobilePhone, string email, byte[] image);

        void EditCollab(String login, string loginCollab, int job, int activity, int location);

        void DeleteCollab(String login, String loginCollab);
        
    }
}
